﻿@model Citi.Scheduler.WebUi.Models.MachineConfigurationModel
@using (Ajax.BeginForm("AddConfiguration", new AjaxOptions { UpdateTargetId = "machineConfigurationList" }))
{
    @Html.Action("FormPartial", "Configuration")
    @Html.HiddenFor(model => model.MachineId)
    <input type="submit" value="Add" />
}
<div id="machineConfigurationList"> 
    @Html.Action("Index", new { machineId = Model.MachineId })
</div>
